import Event from '@/store/_event'

export default class DeliveryOrderStore {
  /**
   * 当骑手接受了新订单
   * （监听者：刷新列表）
   */
  public onReceivingNewOrder = new Event<number>()
  /**
   * 当骑手点击取餐
   * （监听者：刷新列表）
   */
  public onRiderPickingUpMeal = new Event<number>()
  /**
   * 当骑手点击送达
   */
  public onRiderDeliveredMeal = new Event<number>()
}
